package com.ihr360.binlog.service.fallback;

import com.ihr360.binlog.service.AggrateService;
import com.ihr360.commons.exception.Ihr360Exception;
import com.ihr360.commons.vo.ResultInfo;
import com.ihr360.entity.SyncedRosterSalaryChangeRecordEntity;
import org.springframework.stereotype.Component;

@Component
public class AggrateServiceFallback implements AggrateService{

    @Override
    public ResultInfo adjustStaffSalary(SyncedRosterSalaryChangeRecordEntity entity) {
        throw new Ihr360Exception("", "薪资聚合服务异常！");
    }
}
